<table>
    <tbody>
        <tr>
            <td width="180px"><?php echo $form->label('ItsStockInHead.stock_in_no', 'Stock in no.'); ?></td>
            <td><?php echo $form->text('ItsStockInHead.stock_in_no'); ?></td>
        </tr>
        <tr>
            <td><?php echo $form->label('ItsStockInHead.warehouse_id', 'Warehouse'); ?></td>
            <td><?php echo $form->select('ItsStockInHead.warehouse_id', $warehouses); ?></td>
        </tr>
        <tr>
            <td><?php echo $form->label('ItsStockInHead.supplier_id', 'Vendor'); ?></td>
            <td><?php echo $form->select('ItsStockInHead.supplier_id', $suppliers); ?></td>
        </tr>
        <tr>
            <td><?php echo $form->label('ItsStockInHead.po_no', 'Ref. by PO no.'); ?></td>
            <td>
                <?php echo $form->text('ItsStockInHead.po_no', array('size' => 10)); ?>
            </td>
        </tr>
        <tr>
            <td><?php echo $form->label('ItsStockInHead.cust_pr_no', 'Ref. by Customer PR no.'); ?></td>
            <td>
                <?php echo $form->text('ItsStockInHead.cust_pr_no', array('size' => 10)); ?>
            </td>
        </tr>
        <tr>
            <td><?php echo $form->label('ItsStockInHead.stock_in_date', 'Stock in Date'); ?></td>
            <td>
                From
                <?php echo $form->text('ItsStockInHead.stock_in_date_start', array('size' => 10)); ?>
                To
                <?php echo $form->text('ItsStockInHead.stock_in_date_end', array('size' => 10)); ?>
            </td>
        </tr>
    </tbody>
</table>
<script>
    $j(function() {
        $j.datesearchpicker("#ItsStockInHeadStockInDate");
    })
</script>